export type SearchParams = {
  pageNum?: number
  pageSize?: number
  username?: string
  loginStatus?: number
  beginTime?: string
  endTime?: string
}

export type LoginItem = {
  id: number
  username: string
  ip_address: string
  login_location: string
  browser: string
  os: string
  login_status: number
  message: string
  login_time: string
}

export type ListResult = {
  pageNum: number
  pageSize: number
  rows: LoginItem[]
  total: number
}

export type IdParams = {
  id: number
}

export type BatchIdParams = {
  ids: number[]
}
